﻿function vldRegisteredEmailRegex_ClientValidate(source, args) {
	var webMethod = "../service/NgoValidation.asmx/IsEmail";
	var params = "{'email':\"" + args.Value + "\"}";
	ExecuteWebService
		(
			params,
			webMethod,
			function (result) {
				args.IsValid = result;
			},
			OnErrorCall
		);
}

function OnErrorCall(response) {
	alert(response.status + " " + response.statusText);
}